package com.cash.loan.modular.cash.result;

/**
 * @author Administrator
 * @decription
 * @Date 2017-12-07 14:18
 */
public enum ResponseCode {
    /**
     * 成功
     */
    SUCCESS(0,"success"),

    /**
     * 失败
     */
    ERROR(1,"error"),
    ;

    ResponseCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    private int code;

    private String message;

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
